//
//  common.swift
//  navigation
//
//  Created by tuwan on 2018/1/30.
//  Copyright © 2018年 czmc .Inc. All rights reserved.
//

import UIKit


let mScreenWidth:CGFloat = UIScreen.main.bounds.width

let mScreenHeight:CGFloat = UIScreen.main.bounds.height

let mStatusbarHeight:CGFloat = 20

let mNavibarHeight:CGFloat = 44

extension UIColor {
    //返回随机颜色
    class var randomColor: UIColor {
        get {
            let red = CGFloat(arc4random()%256)/255.0
            let green = CGFloat(arc4random()%256)/255.0
            let blue = CGFloat(arc4random()%256)/255.0
            return UIColor(red: red, green: green, blue: blue, alpha: 1.0)
        }
    }
}
